[]
Collection which allows performing changes locally until they are committed to the inner source.
public class C1EditableDataCollection<T> : C1WrapDataCollection<T>, IDataCollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, ISupportIndexing<T>, INotifyPropertyChanged, IDisposable, ISupportSorting, ISupportFiltering, ISupportGrouping, ISupportVirtualization, ISupportConnection, ISupportAsyncLoading<T>, ISupportIncrementalLoading, ISupportRefreshing, ISupportRangeEditing<T>, ISupportEditing<T>, ISupportCreateNewItem<T>, ISupportPaging, ISupportSource where T : class?
Public Class C1EditableDataCollection(Of T As Class)
Inherits C1WrapDataCollection(Of T)
Implements IDataCollection(Of T), IReadOnlyList(Of T), IReadOnlyCollection(Of T), IEnumerable(Of T), IEnumerable, INotifyCollectionChanged, ISupportIndexing(Of T), INotifyPropertyChanged, IDisposable, ISupportSorting, ISupportFiltering, ISupportGrouping, ISupportVirtualization, ISupportConnection, ISupportAsyncLoading(Of T), ISupportIncrementalLoading, ISupportRefreshing, ISupportRangeEditing(Of T), ISupportEditing(Of T), ISupportCreateNewItem(Of T), ISupportPaging, ISupportSource
| Name | Description |
|---|---|
| T | The type of the items in the collection. |
| Name | Description |
|---|---|
| C1EditableDataCollection() | Initializes a new instance of the C1EditableDataCollection<T> class. |
| C1EditableDataCollection(IEnumerable) | Initializes a new instance of the C1EditableDataCollection<T> class. |
| Name | Description |
|---|---|
| HasChanges | Gets whether there are local changes. |
| Source | Gets or sets the original source collection. |
| Name | Description |
|---|---|
| CommitChangesAsync(CancellationToken) | Commits the local changes to the source. |
| Dispose(bool) | Called to dispose resources. |
| UndoChangesAsync(CancellationToken) | Undo the local changes. |